import React from 'react';

const Pregress = React.createClass({
  render() {
    return (
      <span>
        <span className="upload-pregress "><p style={{ width: this.props.Pregress }}>&nbsp;</p></span>
        <span className="init-message" style={{ marginLeft: '17px' }}>{this.props.Pregress ? this.props.Pregress : '0'}%</span>
      </span>
    );
  }
});

export default Pregress;
